import { Component, OnInit } from '@angular/core';
import {StorageService} from "../../services/storage.service";
import {EventbusService} from "../../services/eventbus.service";

@Component({
  selector: 'app-p403',
  templateUrl: './p403.component.html',
  styleUrls: ['./p403.component.css']
})
export class P403Component implements OnInit {

  constructor(private storage:StorageService,
              private eventbus:EventbusService) { }

  ngOnInit(): void {
    this.storage.clear()
    this.eventbus.publish("LOG_OUT")

  }

}
